package com.hospital.payment.module.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.hospital.common.base.PageResult;
import com.hospital.common.dto.payment.module.BackendOrderDto;
import com.hospital.common.dto.payment.module.OrderCreateDto;
import com.hospital.common.dto.payment.module.OrderDto;
import com.hospital.common.dto.payment.module.OrderPayDto;
import com.hospital.common.pojo.TOrder;
import com.hospital.common.vo.payment.module.BackendOrderVo;
import com.hospital.common.vo.payment.module.OrderStatVo;
import com.hospital.common.vo.payment.module.OrderVo;

import java.util.List;

public interface TOrderService extends IService<TOrder>{
    PageResult<OrderVo> queryInPage(OrderDto orderDto);
    List<OrderVo> query(OrderDto orderDto);
    void create(OrderCreateDto orderCreateDto);
    void pay(OrderPayDto orderPayDto);
    void cancelRegistration(Long patientId,Long registrationId);
    OrderStatVo patientOrderStat();
    OrderStatVo backendOrderStat();
    PageResult<BackendOrderVo> backendQueryInPage(BackendOrderDto backendOrderDto);
}
